[INFO] cloning repository https://github.com/spa5k/Kagzi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spa5k/Kagzi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspa5k%2FKagzi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspa5k%2FKagzi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8fab87b46ec9b6da394f7675c1427d34ccbe027d
[INFO] fixing spa5k/Kagzi against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspa5k%2FKagzi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/spa5k/Kagzi
[INFO] finished tweaking git repo https://github.com/spa5k/Kagzi
[INFO] tweaked toml for git repo https://github.com/spa5k/Kagzi written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spa5k/Kagzi on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spa5k/Kagzi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-opentelemetry v0.32.0
[INFO] [stderr]   Downloaded tonic-prost-build v0.14.2
[INFO] [stderr]   Downloaded tonic-build v0.14.2
[INFO] [stderr]   Downloaded tonic-prost v0.14.2
[INFO] [stderr]   Downloaded cron v0.15.0
[INFO] [stderr]   Downloaded prost-build v0.14.1
[INFO] [stderr]   Downloaded pulldown-cmark-to-cmark v21.1.0
[INFO] [stderr]   Downloaded opentelemetry v0.31.0
[INFO] [stderr]   Downloaded tonic v0.14.2
[INFO] [stderr]   Downloaded opentelemetry_sdk v0.31.0
[INFO] [stderr]   Downloaded lru v0.16.2
[INFO] [stderr]   Downloaded testcontainers-modules v0.14.0
[INFO] [stderr]   Downloaded testcontainers v0.26.3
[INFO] [stderr]   Downloaded ferroid v0.8.9
[INFO] [stderr]   Downloaded bollard v0.19.4
[INFO] [stderr]   Downloaded docker_credential v1.3.2
[INFO] [stderr]   Downloaded bollard-stubs v1.49.1-rc.28.4.0
[INFO] [stderr]   Downloaded ureq v3.1.4
[INFO] [stderr]   Downloaded ureq-proto v0.5.3
[INFO] [stderr]   Downloaded astral-tokio-tar v0.5.6
[INFO] [stderr]   Downloaded rust-embed-impl v8.9.0
[INFO] [stderr]   Downloaded opentelemetry-stdout v0.31.0
[INFO] [stderr]   Downloaded opentelemetry-semantic-conventions v0.31.0
[INFO] [stderr]   Downloaded tonic-web v0.14.2
[INFO] [stderr]   Downloaded tonic-reflection v0.14.2
[INFO] [stderr]   Downloaded rust-embed-utils v8.9.0
[INFO] [stderr]   Downloaded toml v0.9.10+spec-1.1.0
[INFO] [stderr]   Downloaded config v0.15.19
[INFO] [stderr]   Downloaded rust-embed v8.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8
[INFO] running `Command { std: "docker" "start" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.10
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling pulldown-cmark v0.13.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]     Checking winnow v0.6.26
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v21.1.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking hostname v0.4.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking lru v0.16.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking line-clipping v0.3.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ureq-proto v0.5.3
[INFO] [stderr]     Checking webpki-roots v1.0.5
[INFO] [stderr]    Compiling erased-serde v0.4.9
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling rust-embed-utils v8.9.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.0.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking unicode-ident v1.0.22
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking openssl-probe v0.2.0
[INFO] [stderr]     Checking md5 v0.8.0
[INFO] [stderr]     Checking toml v0.9.10+spec-1.1.0
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking rust-ini v0.21.3
[INFO] [stderr]     Checking serde-untagged v0.1.9
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking yaml-rust2 v0.10.4
[INFO] [stderr]     Checking xattr v1.6.1
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking spinning_top v0.3.0
[INFO] [stderr]    Compiling kagzi-server v0.0.1-alpha.1 (/opt/rustwide/workdir/crates/kagzi-server)
[INFO] [stderr]     Checking nonzero_ext v0.3.0
[INFO] [stderr]     Checking ferroid v0.8.9
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking etcetera v0.11.0
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.31.0
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tonic-build v0.14.2
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling structmeta-derive v0.3.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking kasuari v0.4.11
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking opentelemetry v0.31.0
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling rust-embed-impl v8.9.0
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling structmeta v0.3.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking rust-embed v8.9.0
[INFO] [stderr]    Compiling parse-display-derive v0.9.1
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.16.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling instability v0.3.11
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking serde_with v3.16.1
[INFO] [stderr]     Checking ureq v3.1.4
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking ron v0.12.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking docker_credential v1.3.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking parse-display v0.9.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking governor v0.10.4
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking config v0.15.19
[INFO] [stderr]     Checking cron v0.15.0
[INFO] [stderr]     Checking unicode-truncate v2.0.0
[INFO] [stderr]     Checking ratatui-core v0.1.0
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]     Checking ratatui-widgets v0.3.0
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking prost v0.14.1
[INFO] [stderr]    Compiling prost-types v0.14.1
[INFO] [stderr]     Checking ratatui-macros v0.7.0
[INFO] [stderr]     Checking ratatui v0.30.0
[INFO] [stderr]    Compiling prost-build v0.14.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking backon v1.6.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tonic-prost-build v0.14.2
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking opentelemetry_sdk v0.31.0
[INFO] [stderr]     Checking astral-tokio-tar v0.5.6
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]    Compiling kagzi-proto v0.0.1-alpha.1 (/opt/rustwide/workdir/crates/kagzi-proto)
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking tracing-opentelemetry v0.32.0
[INFO] [stderr]     Checking opentelemetry-stdout v0.31.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking hyperlocal v0.9.1
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking kagzi-queue v0.0.1-alpha.1 (/opt/rustwide/workdir/crates/kagzi-queue)
[INFO] [stderr]     Checking kagzi-store v0.0.1-alpha.1 (/opt/rustwide/workdir/crates/kagzi-store)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/health.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         sqlx::query_scalar!("SELECT 1")
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |           let namespace = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 29 | |             Namespace,
[INFO] [stdout] 30 | |             r#"
[INFO] [stdout] 31 | |             INSERT INTO kagzi.namespaces (namespace, display_name, description, enabled, created_at, updated_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |             now
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         sqlx::query_as!(
[INFO] [stdout] 58 | |             Namespace,
[INFO] [stdout] 59 | |             r#"
[INFO] [stdout] 60 | |             SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             namespace
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | /         sqlx::query_as!(
[INFO] [stdout] 73 | |             Namespace,
[INFO] [stdout] 74 | |             r#"
[INFO] [stdout] 75 | |             SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |             id
[INFO] [stdout] 80 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:94:13
[INFO] [stdout]     |
[INFO] [stdout]  94 | /             sqlx::query_as!(
[INFO] [stdout]  95 | |                 Namespace,
[INFO] [stdout]  96 | |                 r#"
[INFO] [stdout]  97 | |                 SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |                 limit as i64
[INFO] [stdout] 105 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 | /             sqlx::query_as!(
[INFO] [stdout] 110 | |                 Namespace,
[INFO] [stdout] 111 | |                 r#"
[INFO] [stdout] 112 | |                 SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |                 limit as i64
[INFO] [stdout] 118 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 | /                 sqlx::query_as!(
[INFO] [stdout] 143 | |                     Namespace,
[INFO] [stdout] 144 | |                     r#"
[INFO] [stdout] 145 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |                     now
[INFO] [stdout] 154 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 | /                 sqlx::query_as!(
[INFO] [stdout] 160 | |                     Namespace,
[INFO] [stdout] 161 | |                     r#"
[INFO] [stdout] 162 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |                     now
[INFO] [stdout] 170 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 | /                 sqlx::query_as!(
[INFO] [stdout] 176 | |                     Namespace,
[INFO] [stdout] 177 | |                     r#"
[INFO] [stdout] 178 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |                     now
[INFO] [stdout] 186 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 205 | |             r#"
[INFO] [stdout] 206 | |             UPDATE kagzi.namespaces
[INFO] [stdout] 207 | |             SET enabled = TRUE, updated_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 211 | |             now
[INFO] [stdout] 212 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:221:22
[INFO] [stdout]     |
[INFO] [stdout] 221 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 222 | |             r#"
[INFO] [stdout] 223 | |             UPDATE kagzi.namespaces
[INFO] [stdout] 224 | |             SET enabled = FALSE, updated_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |             now
[INFO] [stdout] 229 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:238:27
[INFO] [stdout]     |
[INFO] [stdout] 238 |           let status_rows = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             SELECT status, COUNT(*) as count
[INFO] [stdout] 241 | |             FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 245 | |             namespace
[INFO] [stdout] 246 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:259:25
[INFO] [stdout]     |
[INFO] [stdout] 259 |           let type_rows = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             SELECT
[INFO] [stdout] 262 | |                 workflow_type,
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |             namespace
[INFO] [stdout] 274 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:312:29
[INFO] [stdout]     |
[INFO] [stdout] 312 |           let worker_counts = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 313 | |             r#"
[INFO] [stdout] 314 | |             SELECT
[INFO] [stdout] 315 | |                 COUNT(*) FILTER (WHERE status != 'OFFLINE') as total,
[INFO] [stdout] ...   |
[INFO] [stdout] 320 | |             namespace
[INFO] [stdout] 321 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:329:31
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let schedule_counts = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |             SELECT
[INFO] [stdout] 332 | |                 COUNT(*) as total,
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |             namespace
[INFO] [stdout] 340 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:424:30
[INFO] [stdout]     |
[INFO] [stdout] 424 |               let queue_rows = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 425 | |                 r#"
[INFO] [stdout] 426 | |                 SELECT DISTINCT task_queue
[INFO] [stdout] 427 | |                 FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 433 | |                 workflow_type
[INFO] [stdout] 434 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:460:26
[INFO] [stdout]     |
[INFO] [stdout] 460 |           let namespaces = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 461 | |             r#"
[INFO] [stdout] 462 | |             SELECT DISTINCT namespace
[INFO] [stdout] 463 | |             FROM kagzi.namespaces
[INFO] [stdout] 464 | |             ORDER BY namespace ASC
[INFO] [stdout] 465 | |             "#
[INFO] [stdout] 466 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:481:18
[INFO] [stdout]     |
[INFO] [stdout] 481 |           let ns = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 482 | |             Namespace,
[INFO] [stdout] 483 | |             r#"
[INFO] [stdout] 484 | |             INSERT INTO kagzi.namespaces (namespace, display_name, description, enabled, created_at, updated_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 492 | |             now
[INFO] [stdout] 493 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | / ...   sqlx::query!(
[INFO] [stdout] 129 | | ...       r#"
[INFO] [stdout] 130 | | ...       INSERT INTO kagzi.step_runs (attempt_id, run_id, step_id, step_kind, status, output, error, finished_at, is_latest, att...
[INFO] [stdout] 131 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, NOW(), true,
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | ...       params.error
[INFO] [stdout] 142 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:154:41
[INFO] [stdout]     |
[INFO] [stdout] 154 |           let row: Option<RetryInfoRow> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 155 | |             RetryInfoRow,
[INFO] [stdout] 156 | |             r#"
[INFO] [stdout] 157 | |             SELECT attempt_number, COALESCE(sr.retry_policy, wr.retry_policy) as policy
[INFO] [stdout] ...   |
[INFO] [stdout] 163 | |             step_id
[INFO] [stdout] 164 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:190:20
[INFO] [stdout]     |
[INFO] [stdout] 190 |           let kind = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 191 | |             r#"
[INFO] [stdout] 192 | |                 SELECT step_kind
[INFO] [stdout] 193 | |                 FROM kagzi.step_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |             step_id
[INFO] [stdout] 198 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/health.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         sqlx::query_scalar!("SELECT 1")
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:230:19
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 231 | |             StepRunRow,
[INFO] [stdout] 232 | |             r#"
[INFO] [stdout] 233 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 252 | |             attempt_id
[INFO] [stdout] 253 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:324:49
[INFO] [stdout]     |
[INFO] [stdout] 324 |           let existing: Option<ExistingStepRow> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________________^
[INFO] [stdout] 325 | |             ExistingStepRow,
[INFO] [stdout] 326 | |             r#"
[INFO] [stdout] 327 | |             SELECT status, output
[INFO] [stdout] ...   |
[INFO] [stdout] 332 | |             params.step_id
[INFO] [stdout] 333 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 | /         sqlx::query!(
[INFO] [stdout] 347 | |             "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 348 | |             params.run_id,
[INFO] [stdout] 349 | |             params.step_id
[INFO] [stdout] 350 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | / ...   sqlx::query!(
[INFO] [stdout] 358 | | ...       r#"
[INFO] [stdout] 359 | | ...       INSERT INTO kagzi.step_runs (attempt_id, run_id, step_id, step_kind, status, input, started_at, is_latest, attempt_numb...
[INFO] [stdout] 360 | | ...       VALUES ($1, $2, $3, $4, 'RUNNING', $5, NOW(), true,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | | ...       retry_policy_json
[INFO] [stdout] 371 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:396:22
[INFO] [stdout]     |
[INFO] [stdout] 396 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 397 | |             r#"
[INFO] [stdout] 398 | |             UPDATE kagzi.step_runs 
[INFO] [stdout] 399 | |             SET status = 'COMPLETED', output = $3, finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 404 | |             &output
[INFO] [stdout] 405 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:411:28
[INFO] [stdout]     |
[INFO] [stdout] 411 |               let existing = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 412 | |                 r#"
[INFO] [stdout] 413 | |                 SELECT status
[INFO] [stdout] 414 | |                 FROM kagzi.step_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 418 | |                 step_id
[INFO] [stdout] 419 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:430:13
[INFO] [stdout]     |
[INFO] [stdout] 430 | /             sqlx::query!(
[INFO] [stdout] 431 | |                 "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 432 | |                 run_id,
[INFO] [stdout] 433 | |                 step_id
[INFO] [stdout] 434 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 | /                 sqlx::query!(
[INFO] [stdout] 481 | |                     r#"
[INFO] [stdout] 482 | |                     UPDATE kagzi.step_runs
[INFO] [stdout] 483 | |                     SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 490 | |                     params.error
[INFO] [stdout] 491 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:510:22
[INFO] [stdout]     |
[INFO] [stdout] 510 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 511 | |             r#"
[INFO] [stdout] 512 | |             UPDATE kagzi.step_runs 
[INFO] [stdout] 513 | |             SET status = 'FAILED', error = $3, finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 518 | |             params.error
[INFO] [stdout] 519 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:524:13
[INFO] [stdout]     |
[INFO] [stdout] 524 | /             sqlx::query!(
[INFO] [stdout] 525 | |                 "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 526 | |                 params.run_id,
[INFO] [stdout] 527 | |                 params.step_id
[INFO] [stdout] 528 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:556:22
[INFO] [stdout]     |
[INFO] [stdout] 556 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 557 | |             r#"
[INFO] [stdout] 558 | |             UPDATE kagzi.step_runs
[INFO] [stdout] 559 | |             SET status = 'COMPLETED', finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 562 | |             run_id
[INFO] [stdout] 563 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:610:23
[INFO] [stdout]     |
[INFO] [stdout] 610 |           let updated = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 611 | |             r#"
[INFO] [stdout] 612 | |             UPDATE kagzi.step_runs
[INFO] [stdout] 613 | |             SET status = $3, output = $4, error = $5, finished_at = NOW(),
[INFO] [stdout] ...   |
[INFO] [stdout] 621 | |             error
[INFO] [stdout] 622 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 | /             sqlx::query!(
[INFO] [stdout] 628 | |                 r#"
[INFO] [stdout] 629 | |                 UPDATE kagzi.step_runs
[INFO] [stdout] 630 | |                 SET is_latest = false
[INFO] [stdout] ...   |
[INFO] [stdout] 634 | |                 step_id
[INFO] [stdout] 635 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: encountered unexpected or invalid data: unknown message type: '\0' (sqlx_postgres::message:172)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:640:13
[INFO] [stdout]     |
[INFO] [stdout] 640 | /             sqlx::query!(
[INFO] [stdout] 641 | |                 r#"
[INFO] [stdout] 642 | |                 INSERT INTO kagzi.step_runs (
[INFO] [stdout] 643 | |                     attempt_id, run_id, step_id, step_kind, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 659 | |                 error
[INFO] [stdout] 660 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:77:31
[INFO] [stdout]     |
[INFO] [stdout]  77 |           let worker_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout]  78 | |             r#"
[INFO] [stdout]  79 | |             INSERT INTO kagzi.workers (
[INFO] [stdout]  80 | |                 namespace, task_queue, hostname, pid, version,
[INFO] [stdout] ...   |
[INFO] [stdout] 100 | |             &params.labels
[INFO] [stdout] 101 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |           let namespace = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 29 | |             Namespace,
[INFO] [stdout] 30 | |             r#"
[INFO] [stdout] 31 | |             INSERT INTO kagzi.namespaces (namespace, display_name, description, enabled, created_at, updated_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |             now
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         sqlx::query_as!(
[INFO] [stdout] 58 | |             Namespace,
[INFO] [stdout] 59 | |             r#"
[INFO] [stdout] 60 | |             SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             namespace
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/namespace.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | /         sqlx::query_as!(
[INFO] [stdout] 73 | |             Namespace,
[INFO] [stdout] 74 | |             r#"
[INFO] [stdout] 75 | |             SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |             id
[INFO] [stdout] 80 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 111 | |             r#"
[INFO] [stdout] 112 | |             UPDATE kagzi.workers
[INFO] [stdout] 113 | |             SET last_heartbeat_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             params.worker_id
[INFO] [stdout] 119 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:94:13
[INFO] [stdout]     |
[INFO] [stdout]  94 | /             sqlx::query_as!(
[INFO] [stdout]  95 | |                 Namespace,
[INFO] [stdout]  96 | |                 r#"
[INFO] [stdout]  97 | |                 SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |                 limit as i64
[INFO] [stdout] 105 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 | /             sqlx::query_as!(
[INFO] [stdout] 110 | |                 Namespace,
[INFO] [stdout] 111 | |                 r#"
[INFO] [stdout] 112 | |                 SELECT id, namespace, display_name, description, enabled, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |                 limit as i64
[INFO] [stdout] 118 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:142:17
[INFO] [stdout]     |
[INFO] [stdout] 142 | /                 sqlx::query_as!(
[INFO] [stdout] 143 | |                     Namespace,
[INFO] [stdout] 144 | |                     r#"
[INFO] [stdout] 145 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |                     now
[INFO] [stdout] 154 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | /         sqlx::query!(
[INFO] [stdout] 129 | |             r#"
[INFO] [stdout] 130 | |             UPDATE kagzi.workers
[INFO] [stdout] 131 | |             SET status = 'DRAINING'
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             namespace
[INFO] [stdout] 136 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 | /                 sqlx::query_as!(
[INFO] [stdout] 160 | |                     Namespace,
[INFO] [stdout] 161 | |                     r#"
[INFO] [stdout] 162 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |                     now
[INFO] [stdout] 170 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 | /                 sqlx::query_as!(
[INFO] [stdout] 176 | |                     Namespace,
[INFO] [stdout] 177 | |                     r#"
[INFO] [stdout] 178 | |                     UPDATE kagzi.namespaces
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |                     now
[INFO] [stdout] 186 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 205 | |             r#"
[INFO] [stdout] 206 | |             UPDATE kagzi.namespaces
[INFO] [stdout] 207 | |             SET enabled = TRUE, updated_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 211 | |             now
[INFO] [stdout] 212 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 | /         sqlx::query!(
[INFO] [stdout] 146 | |             r#"
[INFO] [stdout] 147 | |             UPDATE kagzi.workers
[INFO] [stdout] 148 | |             SET status = 'OFFLINE',
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |             namespace
[INFO] [stdout] 154 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:221:22
[INFO] [stdout]     |
[INFO] [stdout] 221 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 222 | |             r#"
[INFO] [stdout] 223 | |             UPDATE kagzi.namespaces
[INFO] [stdout] 224 | |             SET enabled = FALSE, updated_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |             now
[INFO] [stdout] 229 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:238:27
[INFO] [stdout]     |
[INFO] [stdout] 238 |           let status_rows = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             SELECT status, COUNT(*) as count
[INFO] [stdout] 241 | |             FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 245 | |             namespace
[INFO] [stdout] 246 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:259:25
[INFO] [stdout]     |
[INFO] [stdout] 259 |           let type_rows = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             SELECT
[INFO] [stdout] 262 | |                 workflow_type,
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |             namespace
[INFO] [stdout] 274 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:312:29
[INFO] [stdout]     |
[INFO] [stdout] 312 |           let worker_counts = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 313 | |             r#"
[INFO] [stdout] 314 | |             SELECT
[INFO] [stdout] 315 | |                 COUNT(*) FILTER (WHERE status != 'OFFLINE') as total,
[INFO] [stdout] ...   |
[INFO] [stdout] 320 | |             namespace
[INFO] [stdout] 321 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:163:19
[INFO] [stdout]     |
[INFO] [stdout] 163 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 164 | |             WorkerRow,
[INFO] [stdout] 165 | |             r#"
[INFO] [stdout] 166 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             worker_id
[INFO] [stdout] 183 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:329:31
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let schedule_counts = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |             SELECT
[INFO] [stdout] 332 | |                 COUNT(*) as total,
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |             namespace
[INFO] [stdout] 340 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:424:30
[INFO] [stdout]     |
[INFO] [stdout] 424 |               let queue_rows = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 425 | |                 r#"
[INFO] [stdout] 426 | |                 SELECT DISTINCT task_queue
[INFO] [stdout] 427 | |                 FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 433 | |                 workflow_type
[INFO] [stdout] 434 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:460:26
[INFO] [stdout]     |
[INFO] [stdout] 460 |           let namespaces = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 461 | |             r#"
[INFO] [stdout] 462 | |             SELECT DISTINCT namespace
[INFO] [stdout] 463 | |             FROM kagzi.namespaces
[INFO] [stdout] 464 | |             ORDER BY namespace ASC
[INFO] [stdout] 465 | |             "#
[INFO] [stdout] 466 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/namespace.rs:481:18
[INFO] [stdout]     |
[INFO] [stdout] 481 |           let ns = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 482 | |             Namespace,
[INFO] [stdout] 483 | |             r#"
[INFO] [stdout] 484 | |             INSERT INTO kagzi.namespaces (namespace, display_name, description, enabled, created_at, updated_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 492 | |             now
[INFO] [stdout] 493 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:249:22
[INFO] [stdout]     |
[INFO] [stdout] 249 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 250 | |             r#"
[INFO] [stdout] 251 | |             UPDATE kagzi.workers
[INFO] [stdout] 252 | |             SET status = 'OFFLINE',
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |             threshold_secs as f64
[INFO] [stdout] 258 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 268 | |             r#"
[INFO] [stdout] 269 | |             SELECT COUNT(*) as count
[INFO] [stdout] 270 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |             task_queue
[INFO] [stdout] 277 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:293:19
[INFO] [stdout]     |
[INFO] [stdout] 293 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 294 | |             r#"
[INFO] [stdout] 295 | |             SELECT COUNT(*) as count
[INFO] [stdout] 296 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |             status_filter
[INFO] [stdout] 304 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | / ...   sqlx::query!(
[INFO] [stdout] 129 | | ...       r#"
[INFO] [stdout] 130 | | ...       INSERT INTO kagzi.step_runs (attempt_id, run_id, step_id, step_kind, status, output, error, finished_at, is_latest, att...
[INFO] [stdout] 131 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, NOW(), true,
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | ...       params.error
[INFO] [stdout] 142 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:154:41
[INFO] [stdout]     |
[INFO] [stdout] 154 |           let row: Option<RetryInfoRow> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 155 | |             RetryInfoRow,
[INFO] [stdout] 156 | |             r#"
[INFO] [stdout] 157 | |             SELECT attempt_number, COALESCE(sr.retry_policy, wr.retry_policy) as policy
[INFO] [stdout] ...   |
[INFO] [stdout] 163 | |             step_id
[INFO] [stdout] 164 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:313:20
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 314 | |             r#"
[INFO] [stdout] 315 | |             SELECT DISTINCT namespace
[INFO] [stdout] 316 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 319 | |             "#
[INFO] [stdout] 320 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:190:20
[INFO] [stdout]     |
[INFO] [stdout] 190 |           let kind = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 191 | |             r#"
[INFO] [stdout] 192 | |                 SELECT step_kind
[INFO] [stdout] 193 | |                 FROM kagzi.step_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |             step_id
[INFO] [stdout] 198 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/helpers.rs:89:15
[INFO] [stdout]     |
[INFO] [stdout]  89 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout]  90 | |         r#"
[INFO] [stdout]  91 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout]  92 | |         SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         error
[INFO] [stdout] 102 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/queue.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let row = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 26 | |         ClaimedRow,
[INFO] [stdout] 27 | |         r#"
[INFO] [stdout] 28 | |         WITH task AS (
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |         visibility_timeout_secs as f64
[INFO] [stdout] 60 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/state.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let row = sqlx::query!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 57 | |         r#"
[INFO] [stdout] 58 | |         INSERT INTO kagzi.workflow_runs (
[INFO] [stdout] 59 | |             run_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         params.schedule_id
[INFO] [stdout] 76 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/state.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | /     sqlx::query!(
[INFO] [stdout] 81 | |         r#"
[INFO] [stdout] 82 | |         INSERT INTO kagzi.workflow_payloads (run_id, input)
[INFO] [stdout] 83 | |         VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         params.input
[INFO] [stdout] 87 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 103 | |         WorkflowRunRow,
[INFO] [stdout] 104 | |         r#"
[INFO] [stdout] 105 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |         namespace
[INFO] [stdout] 134 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:146:15
[INFO] [stdout]     |
[INFO] [stdout] 146 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 147 | |         r#"
[INFO] [stdout] 148 | |         SELECT retry_policy
[INFO] [stdout] 149 | |         FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |         run_id
[INFO] [stdout] 153 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:230:19
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 231 | |             StepRunRow,
[INFO] [stdout] 232 | |             r#"
[INFO] [stdout] 233 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 252 | |             attempt_id
[INFO] [stdout] 253 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:176:15
[INFO] [stdout]     |
[INFO] [stdout] 176 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 177 | |         r#"
[INFO] [stdout] 178 | |         SELECT run_id FROM kagzi.workflow_runs
[INFO] [stdout] 179 | |         WHERE namespace = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         external_id
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:324:49
[INFO] [stdout]     |
[INFO] [stdout] 324 |           let existing: Option<ExistingStepRow> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________________^
[INFO] [stdout] 325 | |             ExistingStepRow,
[INFO] [stdout] 326 | |             r#"
[INFO] [stdout] 327 | |             SELECT status, output
[INFO] [stdout] ...   |
[INFO] [stdout] 332 | |             params.step_id
[INFO] [stdout] 333 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 | /         sqlx::query!(
[INFO] [stdout] 347 | |             "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 348 | |             params.run_id,
[INFO] [stdout] 349 | |             params.step_id
[INFO] [stdout] 350 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | / ...   sqlx::query!(
[INFO] [stdout] 358 | | ...       r#"
[INFO] [stdout] 359 | | ...       INSERT INTO kagzi.step_runs (attempt_id, run_id, step_id, step_kind, status, input, started_at, is_latest, attempt_numb...
[INFO] [stdout] 360 | | ...       VALUES ($1, $2, $3, $4, 'RUNNING', $5, NOW(), true,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | | ...       retry_policy_json
[INFO] [stdout] 371 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:304:15
[INFO] [stdout]     |
[INFO] [stdout] 304 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 305 | |         r#"
[INFO] [stdout] 306 | |         SELECT status, locked_by FROM kagzi.workflow_runs
[INFO] [stdout] 307 | |         WHERE run_id = $1 AND namespace = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         namespace
[INFO] [stdout] 311 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:396:22
[INFO] [stdout]     |
[INFO] [stdout] 396 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 397 | |             r#"
[INFO] [stdout] 398 | |             UPDATE kagzi.step_runs 
[INFO] [stdout] 399 | |             SET status = 'COMPLETED', output = $3, finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 404 | |             &output
[INFO] [stdout] 405 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:339:19
[INFO] [stdout]     |
[INFO] [stdout] 339 |       let running = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 340 | |         r#"
[INFO] [stdout] 341 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 342 | |         SET status = 'CANCELLED',
[INFO] [stdout] ...   |
[INFO] [stdout] 352 | |         namespace
[INFO] [stdout] 353 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:411:28
[INFO] [stdout]     |
[INFO] [stdout] 411 |               let existing = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 412 | |                 r#"
[INFO] [stdout] 413 | |                 SELECT status
[INFO] [stdout] 414 | |                 FROM kagzi.step_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 418 | |                 step_id
[INFO] [stdout] 419 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:363:23
[INFO] [stdout]     |
[INFO] [stdout] 363 |       let non_running = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 364 | |         r#"
[INFO] [stdout] 365 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 366 | |         SET status = 'CANCELLED',
[INFO] [stdout] ...   |
[INFO] [stdout] 376 | |         namespace
[INFO] [stdout] 377 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:430:13
[INFO] [stdout]     |
[INFO] [stdout] 430 | /             sqlx::query!(
[INFO] [stdout] 431 | |                 "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 432 | |                 run_id,
[INFO] [stdout] 433 | |                 step_id
[INFO] [stdout] 434 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:395:20
[INFO] [stdout]     |
[INFO] [stdout] 395 |       let counters = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 396 | |         r#"
[INFO] [stdout] 397 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 398 | |         SET status = 'COMPLETED',
[INFO] [stdout] ...   |
[INFO] [stdout] 405 | |         run_id
[INFO] [stdout] 406 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:410:5
[INFO] [stdout]     |
[INFO] [stdout] 410 | /     sqlx::query!(
[INFO] [stdout] 411 | |         r#"
[INFO] [stdout] 412 | |         UPDATE kagzi.workflow_payloads
[INFO] [stdout] 413 | |         SET output = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 417 | |         output
[INFO] [stdout] 418 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:480:17
[INFO] [stdout]     |
[INFO] [stdout] 480 | /                 sqlx::query!(
[INFO] [stdout] 481 | |                     r#"
[INFO] [stdout] 482 | |                     UPDATE kagzi.step_runs
[INFO] [stdout] 483 | |                     SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 490 | |                     params.error
[INFO] [stdout] 491 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:510:22
[INFO] [stdout]     |
[INFO] [stdout] 510 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 511 | |             r#"
[INFO] [stdout] 512 | |             UPDATE kagzi.step_runs 
[INFO] [stdout] 513 | |             SET status = 'FAILED', error = $3, finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 518 | |             params.error
[INFO] [stdout] 519 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:524:13
[INFO] [stdout]     |
[INFO] [stdout] 524 | /             sqlx::query!(
[INFO] [stdout] 525 | |                 "UPDATE kagzi.step_runs SET is_latest = false WHERE run_id = $1 AND step_id = $2 AND is_latest = true",
[INFO] [stdout] 526 | |                 params.run_id,
[INFO] [stdout] 527 | |                 params.step_id
[INFO] [stdout] 528 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:452:15
[INFO] [stdout]     |
[INFO] [stdout] 452 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 453 | |         r#"
[INFO] [stdout] 454 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 455 | |         SET status = 'SLEEPING',
[INFO] [stdout] ...   |
[INFO] [stdout] 462 | |         duration
[INFO] [stdout] 463 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:481:15
[INFO] [stdout]     |
[INFO] [stdout] 481 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 482 | |         r#"
[INFO] [stdout] 483 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 484 | |         SET status = 'PENDING',
[INFO] [stdout] ...   |
[INFO] [stdout] 491 | |         delay_ms as f64
[INFO] [stdout] 492 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:556:22
[INFO] [stdout]     |
[INFO] [stdout] 556 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 557 | |             r#"
[INFO] [stdout] 558 | |             UPDATE kagzi.step_runs
[INFO] [stdout] 559 | |             SET status = 'COMPLETED', finished_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 562 | |             run_id
[INFO] [stdout] 563 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:534:19
[INFO] [stdout]     |
[INFO] [stdout] 534 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 535 | |             r#"
[INFO] [stdout] 536 | |             INSERT INTO kagzi.workflow_runs (
[INFO] [stdout] 537 | |                 run_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 553 | |             p.schedule_id
[INFO] [stdout] 554 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:610:23
[INFO] [stdout]     |
[INFO] [stdout] 610 |           let updated = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 611 | |             r#"
[INFO] [stdout] 612 | |             UPDATE kagzi.step_runs
[INFO] [stdout] 613 | |             SET status = $3, output = $4, error = $5, finished_at = NOW(),
[INFO] [stdout] ...   |
[INFO] [stdout] 621 | |             error
[INFO] [stdout] 622 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 | /         sqlx::query!(
[INFO] [stdout] 559 | |             r#"
[INFO] [stdout] 560 | |             INSERT INTO kagzi.workflow_payloads (run_id, input)
[INFO] [stdout] 561 | |             VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 564 | |             p.input
[INFO] [stdout] 565 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 | /             sqlx::query!(
[INFO] [stdout] 628 | |                 r#"
[INFO] [stdout] 629 | |                 UPDATE kagzi.step_runs
[INFO] [stdout] 630 | |                 SET is_latest = false
[INFO] [stdout] ...   |
[INFO] [stdout] 634 | |                 step_id
[INFO] [stdout] 635 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/step.rs:640:13
[INFO] [stdout]     |
[INFO] [stdout] 640 | /             sqlx::query!(
[INFO] [stdout] 641 | |                 r#"
[INFO] [stdout] 642 | |                 INSERT INTO kagzi.step_runs (
[INFO] [stdout] 643 | |                     attempt_id, run_id, step_id, step_kind, status,
[INFO] [stdout] ...   |
[INFO] [stdout] 659 | |                 error
[INFO] [stdout] 660 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:586:9
[INFO] [stdout]     |
[INFO] [stdout] 586 | /         sqlx::query_as!(
[INFO] [stdout] 587 | |             WorkflowRunRow,
[INFO] [stdout] 588 | |             r#"
[INFO] [stdout] 589 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 620 | |             limit
[INFO] [stdout] 621 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:626:9
[INFO] [stdout]     |
[INFO] [stdout] 626 | /         sqlx::query_as!(
[INFO] [stdout] 627 | |             WorkflowRunRow,
[INFO] [stdout] 628 | |             r#"
[INFO] [stdout] 629 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 662 | |             limit
[INFO] [stdout] 663 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:679:18
[INFO] [stdout]     |
[INFO] [stdout] 679 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 680 | |         r#"
[INFO] [stdout] 681 | |         WITH template AS (
[INFO] [stdout] 682 | |             SELECT * FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 717 | |         fire_at
[INFO] [stdout] 718 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:733:9
[INFO] [stdout]     |
[INFO] [stdout] 733 | /         sqlx::query!(
[INFO] [stdout] 734 | |             r#"
[INFO] [stdout] 735 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 736 | |             SET available_at = $2, last_fired_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 741 | |             last
[INFO] [stdout] 742 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:746:9
[INFO] [stdout]     |
[INFO] [stdout] 746 | /         sqlx::query!(
[INFO] [stdout] 747 | |             r#"
[INFO] [stdout] 748 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 749 | |             SET available_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 753 | |             next_fire_at
[INFO] [stdout] 754 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:768:5
[INFO] [stdout]     |
[INFO] [stdout] 768 | /     sqlx::query!(
[INFO] [stdout] 769 | |         r#"
[INFO] [stdout] 770 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 771 | |         SET status = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 785 | |         workflow.last_fired_at
[INFO] [stdout] 786 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:795:5
[INFO] [stdout]     |
[INFO] [stdout] 795 | /     sqlx::query!(
[INFO] [stdout] 796 | |         r#"
[INFO] [stdout] 797 | |         DELETE FROM kagzi.workflow_payloads WHERE run_id = $1
[INFO] [stdout] 798 | |         "#,
[INFO] [stdout] 799 | |         run_id
[INFO] [stdout] 800 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:804:5
[INFO] [stdout]     |
[INFO] [stdout] 804 | /     sqlx::query!(
[INFO] [stdout] 805 | |         r#"
[INFO] [stdout] 806 | |         DELETE FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] 807 | |         "#,
[INFO] [stdout] 808 | |         run_id
[INFO] [stdout] 809 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:821:15
[INFO] [stdout]     |
[INFO] [stdout] 821 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 822 | |         r#"
[INFO] [stdout] 823 | |         SELECT namespace FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] 824 | |         "#,
[INFO] [stdout] 825 | |         run_id
[INFO] [stdout] 826 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:839:18
[INFO] [stdout]     |
[INFO] [stdout] 839 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 840 | |         r#"
[INFO] [stdout] 841 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 842 | |         SET available_at = GREATEST(available_at, NOW()) + ($2 * INTERVAL '1 second')
[INFO] [stdout] ...   |
[INFO] [stdout] 846 | |         extension_secs as f64
[INFO] [stdout] 847 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:77:31
[INFO] [stdout]     |
[INFO] [stdout]  77 |           let worker_id: Uuid = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout]  78 | |             r#"
[INFO] [stdout]  79 | |             INSERT INTO kagzi.workers (
[INFO] [stdout]  80 | |                 namespace, task_queue, hostname, pid, version,
[INFO] [stdout] ...   |
[INFO] [stdout] 100 | |             &params.labels
[INFO] [stdout] 101 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 111 | |             r#"
[INFO] [stdout] 112 | |             UPDATE kagzi.workers
[INFO] [stdout] 113 | |             SET last_heartbeat_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             params.worker_id
[INFO] [stdout] 119 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | /         sqlx::query!(
[INFO] [stdout] 129 | |             r#"
[INFO] [stdout] 130 | |             UPDATE kagzi.workers
[INFO] [stdout] 131 | |             SET status = 'DRAINING'
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             namespace
[INFO] [stdout] 136 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 | /         sqlx::query!(
[INFO] [stdout] 146 | |             r#"
[INFO] [stdout] 147 | |             UPDATE kagzi.workers
[INFO] [stdout] 148 | |             SET status = 'OFFLINE',
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |             namespace
[INFO] [stdout] 154 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:163:19
[INFO] [stdout]     |
[INFO] [stdout] 163 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 164 | |             WorkerRow,
[INFO] [stdout] 165 | |             r#"
[INFO] [stdout] 166 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             worker_id
[INFO] [stdout] 183 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:249:22
[INFO] [stdout]     |
[INFO] [stdout] 249 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 250 | |             r#"
[INFO] [stdout] 251 | |             UPDATE kagzi.workers
[INFO] [stdout] 252 | |             SET status = 'OFFLINE',
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |             threshold_secs as f64
[INFO] [stdout] 258 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 268 | |             r#"
[INFO] [stdout] 269 | |             SELECT COUNT(*) as count
[INFO] [stdout] 270 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |             task_queue
[INFO] [stdout] 277 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/mod.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         sqlx::query!(
[INFO] [stdout] 109 | |             r#"
[INFO] [stdout] 110 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 111 | |             SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 120 | |             error
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:293:19
[INFO] [stdout]     |
[INFO] [stdout] 293 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 294 | |             r#"
[INFO] [stdout] 295 | |             SELECT COUNT(*) as count
[INFO] [stdout] 296 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |             status_filter
[INFO] [stdout] 304 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/worker.rs:313:20
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 314 | |             r#"
[INFO] [stdout] 315 | |             SELECT DISTINCT namespace
[INFO] [stdout] 316 | |             FROM kagzi.workers
[INFO] [stdout] ...   |
[INFO] [stdout] 319 | |             "#
[INFO] [stdout] 320 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/helpers.rs:89:15
[INFO] [stdout]     |
[INFO] [stdout]  89 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout]  90 | |         r#"
[INFO] [stdout]  91 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout]  92 | |         SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         error
[INFO] [stdout] 102 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/queue.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let row = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 26 | |         ClaimedRow,
[INFO] [stdout] 27 | |         r#"
[INFO] [stdout] 28 | |         WITH task AS (
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |         visibility_timeout_secs as f64
[INFO] [stdout] 60 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/state.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let row = sqlx::query!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 57 | |         r#"
[INFO] [stdout] 58 | |         INSERT INTO kagzi.workflow_runs (
[INFO] [stdout] 59 | |             run_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         params.schedule_id
[INFO] [stdout] 76 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> crates/kagzi-store/src/postgres/workflow/state.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | /     sqlx::query!(
[INFO] [stdout] 81 | |         r#"
[INFO] [stdout] 82 | |         INSERT INTO kagzi.workflow_payloads (run_id, input)
[INFO] [stdout] 83 | |         VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         params.input
[INFO] [stdout] 87 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 103 | |         WorkflowRunRow,
[INFO] [stdout] 104 | |         r#"
[INFO] [stdout] 105 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 133 | |         namespace
[INFO] [stdout] 134 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:146:15
[INFO] [stdout]     |
[INFO] [stdout] 146 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 147 | |         r#"
[INFO] [stdout] 148 | |         SELECT retry_policy
[INFO] [stdout] 149 | |         FROM kagzi.workflow_runs
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |         run_id
[INFO] [stdout] 153 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:176:15
[INFO] [stdout]     |
[INFO] [stdout] 176 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 177 | |         r#"
[INFO] [stdout] 178 | |         SELECT run_id FROM kagzi.workflow_runs
[INFO] [stdout] 179 | |         WHERE namespace = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         external_id
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:304:15
[INFO] [stdout]     |
[INFO] [stdout] 304 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 305 | |         r#"
[INFO] [stdout] 306 | |         SELECT status, locked_by FROM kagzi.workflow_runs
[INFO] [stdout] 307 | |         WHERE run_id = $1 AND namespace = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         namespace
[INFO] [stdout] 311 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:339:19
[INFO] [stdout]     |
[INFO] [stdout] 339 |       let running = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 340 | |         r#"
[INFO] [stdout] 341 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 342 | |         SET status = 'CANCELLED',
[INFO] [stdout] ...   |
[INFO] [stdout] 352 | |         namespace
[INFO] [stdout] 353 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:363:23
[INFO] [stdout]     |
[INFO] [stdout] 363 |       let non_running = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 364 | |         r#"
[INFO] [stdout] 365 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 366 | |         SET status = 'CANCELLED',
[INFO] [stdout] ...   |
[INFO] [stdout] 376 | |         namespace
[INFO] [stdout] 377 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:395:20
[INFO] [stdout]     |
[INFO] [stdout] 395 |       let counters = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 396 | |         r#"
[INFO] [stdout] 397 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 398 | |         SET status = 'COMPLETED',
[INFO] [stdout] ...   |
[INFO] [stdout] 405 | |         run_id
[INFO] [stdout] 406 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:410:5
[INFO] [stdout]     |
[INFO] [stdout] 410 | /     sqlx::query!(
[INFO] [stdout] 411 | |         r#"
[INFO] [stdout] 412 | |         UPDATE kagzi.workflow_payloads
[INFO] [stdout] 413 | |         SET output = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 417 | |         output
[INFO] [stdout] 418 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:452:15
[INFO] [stdout]     |
[INFO] [stdout] 452 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 453 | |         r#"
[INFO] [stdout] 454 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 455 | |         SET status = 'SLEEPING',
[INFO] [stdout] ...   |
[INFO] [stdout] 462 | |         duration
[INFO] [stdout] 463 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:481:15
[INFO] [stdout]     |
[INFO] [stdout] 481 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 482 | |         r#"
[INFO] [stdout] 483 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 484 | |         SET status = 'PENDING',
[INFO] [stdout] ...   |
[INFO] [stdout] 491 | |         delay_ms as f64
[INFO] [stdout] 492 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:534:19
[INFO] [stdout]     |
[INFO] [stdout] 534 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 535 | |             r#"
[INFO] [stdout] 536 | |             INSERT INTO kagzi.workflow_runs (
[INFO] [stdout] 537 | |                 run_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 553 | |             p.schedule_id
[INFO] [stdout] 554 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 | /         sqlx::query!(
[INFO] [stdout] 559 | |             r#"
[INFO] [stdout] 560 | |             INSERT INTO kagzi.workflow_payloads (run_id, input)
[INFO] [stdout] 561 | |             VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 564 | |             p.input
[INFO] [stdout] 565 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:586:9
[INFO] [stdout]     |
[INFO] [stdout] 586 | /         sqlx::query_as!(
[INFO] [stdout] 587 | |             WorkflowRunRow,
[INFO] [stdout] 588 | |             r#"
[INFO] [stdout] 589 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 620 | |             limit
[INFO] [stdout] 621 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:626:9
[INFO] [stdout]     |
[INFO] [stdout] 626 | /         sqlx::query_as!(
[INFO] [stdout] 627 | |             WorkflowRunRow,
[INFO] [stdout] 628 | |             r#"
[INFO] [stdout] 629 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 662 | |             limit
[INFO] [stdout] 663 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:679:18
[INFO] [stdout]     |
[INFO] [stdout] 679 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 680 | |         r#"
[INFO] [stdout] 681 | |         WITH template AS (
[INFO] [stdout] 682 | |             SELECT * FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 717 | |         fire_at
[INFO] [stdout] 718 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:733:9
[INFO] [stdout]     |
[INFO] [stdout] 733 | /         sqlx::query!(
[INFO] [stdout] 734 | |             r#"
[INFO] [stdout] 735 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 736 | |             SET available_at = $2, last_fired_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 741 | |             last
[INFO] [stdout] 742 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:746:9
[INFO] [stdout]     |
[INFO] [stdout] 746 | /         sqlx::query!(
[INFO] [stdout] 747 | |             r#"
[INFO] [stdout] 748 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 749 | |             SET available_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 753 | |             next_fire_at
[INFO] [stdout] 754 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:768:5
[INFO] [stdout]     |
[INFO] [stdout] 768 | /     sqlx::query!(
[INFO] [stdout] 769 | |         r#"
[INFO] [stdout] 770 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 771 | |         SET status = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 785 | |         workflow.last_fired_at
[INFO] [stdout] 786 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:795:5
[INFO] [stdout]     |
[INFO] [stdout] 795 | /     sqlx::query!(
[INFO] [stdout] 796 | |         r#"
[INFO] [stdout] 797 | |         DELETE FROM kagzi.workflow_payloads WHERE run_id = $1
[INFO] [stdout] 798 | |         "#,
[INFO] [stdout] 799 | |         run_id
[INFO] [stdout] 800 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:804:5
[INFO] [stdout]     |
[INFO] [stdout] 804 | /     sqlx::query!(
[INFO] [stdout] 805 | |         r#"
[INFO] [stdout] 806 | |         DELETE FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] 807 | |         "#,
[INFO] [stdout] 808 | |         run_id
[INFO] [stdout] 809 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:821:15
[INFO] [stdout]     |
[INFO] [stdout] 821 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 822 | |         r#"
[INFO] [stdout] 823 | |         SELECT namespace FROM kagzi.workflow_runs WHERE run_id = $1
[INFO] [stdout] 824 | |         "#,
[INFO] [stdout] 825 | |         run_id
[INFO] [stdout] 826 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/state.rs:839:18
[INFO] [stdout]     |
[INFO] [stdout] 839 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 840 | |         r#"
[INFO] [stdout] 841 | |         UPDATE kagzi.workflow_runs
[INFO] [stdout] 842 | |         SET available_at = GREATEST(available_at, NOW()) + ($2 * INTERVAL '1 second')
[INFO] [stdout] ...   |
[INFO] [stdout] 846 | |         extension_secs as f64
[INFO] [stdout] 847 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::helpers::ClaimedRow`
[INFO] [stdout]  --> crates/kagzi-store/src/postgres/workflow/queue.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::helpers::ClaimedRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> crates/kagzi-store/src/postgres/workflow/mod.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         sqlx::query!(
[INFO] [stdout] 109 | |             r#"
[INFO] [stdout] 110 | |             UPDATE kagzi.workflow_runs
[INFO] [stdout] 111 | |             SET status = 'FAILED',
[INFO] [stdout] ...   |
[INFO] [stdout] 120 | |             error
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::helpers::ClaimedRow`
[INFO] [stdout]  --> crates/kagzi-store/src/postgres/workflow/queue.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::helpers::ClaimedRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kagzi-store` (lib) due to 71 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `kagzi-store` (lib test) due to 71 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8", kill_on_drop: false }`
[INFO] [stdout] b36c463b04ab7b679ab6ef24cb8c828b2d7cd73c7d12f8aa24075ab282a18fa8
